package com.jdd.modules.dooropeningrecord.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jdd.modules.dashboard.vo.ThroughTypeVO;
import com.jdd.modules.dooropeningrecord.entity.DoorOpeningRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description: 开门记录
 * @Author: jdd
 * @Date:   2022-04-14
 * @Version: V1.0
 */
public interface DoorOpeningRecordMapper extends BaseMapper<DoorOpeningRecord> {



    IPage<DoorOpeningRecord> findAll(Page<DoorOpeningRecord> page, QueryWrapper<DoorOpeningRecord> queryWrapper);

    List<ThroughTypeVO> getThroughTypeVoList(@Param("projectCodes") List<String> projectCodes);

}
